package com.example.edu.Entity;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class Chapter {
    int chapter_id;
    String chapter_name;
    int course_id;

    public Chapter(int chapter_id, String chapter_name){
        this.chapter_id = chapter_id;
        this.chapter_name = chapter_name;
    }

    public Chapter(String chapter_name){
        this.chapter_name = chapter_name;
    }
}
